package com.yolo.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * ClassName: OperLogDto
 * Description:
 * date: 2021/4/25 17:41
 *
 * @author 须臾
 * @since JDK 1.8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OperLogDto {

    private Integer pageIndex;
    private Integer pageSize;
    private String title;
    private Integer businessType;
    private String operName;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
}
